package com.region.common.adapter.logging;

/**
 * @author 26225
 * @date 2024/7/7 11:35
 * @description
 */
public class MyLoggingAdapter implements LoggerAdapter {

    public MyLoggingAdapter(String clazz) {
        // do something
    }

    @Override
    public boolean isDebugEnabled() {
        return true;
    }

    @Override
    public boolean isInfoEnabled() {
        return true;
    }

    @Override
    public void error(String s, Throwable e) {
        // do something
    }

    @Override
    public void error(String s) {
        // do something
    }

    @Override
    public void trace(String s) {
        // do something
    }

    @Override
    public void trace(String s, Throwable e) {
        // do something
    }

    @Override
    public void warn(String s) {
        // do something
    }

    @Override
    public void warn(String s, Throwable e) {
        // do something
    }

    @Override
    public void info(String s) {
        System.out.println("你是猪：" + s);
    }

    @Override
    public void info(String s, Throwable e) {

    }

    @Override
    public void debug(String s) {

    }

    @Override
    public void debug(String s, Throwable e) {

    }
}
